<template name="instance_list">
	<div class="search-tip-bar" style="{{is_display_search_tip}}">
		<span class="result-container text-overflow">{{_ "instance_search_result_tip"}}:
			<ol class="breadcrumb">
				{{#each filterFlowName}}
					<li>{{this}}</li>{{/each}}
			</ol>

		</span>
		<button type="button" class="close" id="instance_search_tip_close_btn"><span>&times;</span></button>
	</div>
	<div class="instance-list {{is_select_bar_show}} {{#if isEmpty}}instance-list-empty{{/if}}">

		{{#if isEmpty}}
			<div>{{> illustration path=illustrationPath messageBody=illustrationMessageBody}}</div>
		{{/if}}

		<!--此写法只为解决不同在待审核与其他箱切换时，分页错误的问题。此写法可以创建2个tabular view-->
		{{#if is_inbox}}
			{{> tabular table=getInstanceListTabular selector=selector class="table table-bordered table-striped dataTable datatable-instances"}}
		{{else}}
			{{> tabular table=getInstanceListTabular selector=selector class="table table-bordered table-striped dataTable datatable-instances"}}
		{{/if}}

	</div>
	{{#if showBatchBtn}}
		<div class="batch_instances_view">
			<button type="button" class="btn btn-primary animated bounceInUp">{{{_ "workflow_batch_approval_btn"}}}</button>
		</div>
	{{/if}}
</template>
